package com.ruoyi.activiti.service.impl;

import com.ruoyi.activiti.domain.vo.FlowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>任务审批人信息</p>
 * <p>创建日期：2021-07-20</p>
 *
 * @author zhou-qf
 */
@Service
public class TaskUserInfoService {

    @Autowired
    private ProcessFlowsService processFlowsService;


    /**
     * 获取当前任务实例各个审批人信息
     * @param processId
     * @return
     */
    public List<FlowVo> allProcessApprover(String processId){
        return processFlowsService.queryFlowList(processId);
    }
}
